package net.okjsp.poll;

public class Item {
	
	private int id;

	private String label;

	private int count;
	
	public Item() {}

	public Item(String label) {
		this.label = label;
	}

	public int getCount() {
		return this.count;
	}
	
	public String getLabel() {
		return label;
	}

	public void increment() {
		count++;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

}
